package com.ruoyi.obtain.mapper;

import java.util.List;
import com.ruoyi.obtain.domain.EduHelp;

/**
 * 就业帮扶Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-09
 */
public interface EduHelpMapper 
{
    /**
     * 查询就业帮扶
     * 
     * @param id 就业帮扶主键
     * @return 就业帮扶
     */
    public EduHelp selectEduHelpById(Long id);

    /**
     * 查询就业帮扶列表
     * 
     * @param eduHelp 就业帮扶
     * @return 就业帮扶集合
     */
    public List<EduHelp> selectEduHelpList(EduHelp eduHelp);

    /**
     * 新增就业帮扶
     * 
     * @param eduHelp 就业帮扶
     * @return 结果
     */
    public int insertEduHelp(EduHelp eduHelp);

    /**
     * 修改就业帮扶
     * 
     * @param eduHelp 就业帮扶
     * @return 结果
     */
    public int updateEduHelp(EduHelp eduHelp);

    /**
     * 删除就业帮扶
     * 
     * @param id 就业帮扶主键
     * @return 结果
     */
    public int deleteEduHelpById(Long id);

    /**
     * 批量删除就业帮扶
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEduHelpByIds(Long[] ids);

    List<EduHelp> selectTeacherByUserId(Long userId);

    /*Long selectRoleByUserId(Long userId);*/
}
